Stabilize Glaze architecture, runtime, security, packaging, and cross-platform APIs - #5
Open
turinglambdaai wants to merge 122 commits into
Open
turinglambdaai wants to merge 122 commits into
turinglambdaai wants to merge 122 commits into
Conversation
This was referenced Sep 20, 2026
…undaries # Conflicts: # README.md # README.zh-CN.md # examples/README.md # glaze-cli/cli.rkt # glaze-doc/scribblings/glaze.scrbl # glaze/api.rkt # glaze/app.rkt # glaze/webview/main.rkt
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR has grown from an architecture/documentation cleanup into a broad pre-1.0 stabilization pass. The goal remains low-risk and mergeable: preserve the public facade, fix concrete cross-platform failures, harden capability boundaries, improve release engineering, and add regression coverage rather than redesigning Glaze into an Electron clone.
Glaze's positioning is now explicit: a Lisp-native framework for building modern desktop applications with Racket, using a web UI, a Racket runtime, system WebViews, and native OS capabilities.
Main changes
Architecture and public API
docs/architecture.md,ROADMAP.md,SECURITY.md, anddocs/releasing.md(require glaze)as the compatibility-preserving public facadeRuntime and security hardening
copy-portinstead of loading the entire file into the Racket heap; a real 4 MiB WASM HTTP regression test locks down status, MIME type, length, and bytesWebView and macOS behavior
(module+ main ...)actually runsWKPreferences.inactiveSchedulingPolicyhandling for monitoring-style apps without using private WebKit APIsNative capability fixes
Packaging and distribution
wixexecutable, checkswix --version, and only uses WiX major version 4; newer majors fall through to NSIS / archive fallback instead of being fed WiX 4 source accidentally.tar.gzfallback instead of downloading AppImageKit's mutablecontinuousbinaryraco pkg create --source, fresh archive install,(require glaze), andraco glaze helpCLI and update/license tooling
license --machine-idparsing interaction with following options0600private-key permissions on Linux/macOSCI, supply chain, and repository hygiene
contents: readcheckoutv5.1.0,setup-racketv1.15,upload-artifactv7.0.1).editorconfig,.gitattributes, and safer ignore rules for generated installers and private signing materialCompatibility
No existing public binding was intentionally removed or renamed. Focused module imports remain available. Platform backends remain behind their dispatchers; the stabilization work avoids unnecessary directory moves or a large runtime rewrite.
Validation
At head
a5e57a05658891f43b492ecc9d3ffcc6176aab31, GitHub Actions run #145 completed successfully after retrying one transient GitHub artifact-finalizationECONNRESET:.tar.gzIssue #1 is closed with dedicated regression coverage. Issue #2 remains open intentionally: the public macOS anti-throttling mitigation is implemented, but the original fully-occluded-window timing scenario still needs a dedicated real-world reproduction test before declaring it resolved.
Remaining repository / release setup outside this PR
mainshould require PR review and the CI workflow as required checks in repository settings.